package cn.csq.design.structural.decorator;

/**
 * @author csq
 * @date 2022/1/27 12:54:31
 */
public class MeiyanTikTokDecorator implements TikTokDecorator {

    private ManTikTok manTikTok;

    public MeiyanTikTokDecorator(ManTikTok manTikTok) {
        this.manTikTok = manTikTok;
    }

    @Override
    public void tiktok() {
        //开启美颜
        enableMeiyan();
        //开始直播
        manTikTok.tiktok();

    }

    //开启美颜效果
    void enableMeiyan() {
        System.out.println("xxx");
        System.out.println("鲜花");
    }


}
